/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Enlace;

/**
 *
 * @author Lau
 */
public class TramaDealer {
    private String tramadealer = new String();
    
    public TramaDealer(int j1)
    {
        CRC c = new CRC();
        String crc = new String();
        crc = c.divi("111111111111111111");
        if(j1 == 1)
        {
            tramadealer = "11111111111111111111"+"1010"+"111111111111111111"+crc+"11111111111111111111";
            }
        else
        {
            tramadealer = "11111111111111111111"+"1010"+"111111111000000000"+crc+"11111111111111111111";
            }        
        }    
}

